<template>
  <router-view/>
</template>
<script lang="ts">
import { onMounted } from 'vue'
import { useStore } from 'vuex'
export default {
  setup () {
    const Store = useStore()
    onMounted(() => {
      document.body.onload = document.body.onresize = () => {
        Store.dispatch('ClientSize/setWidth', document.body.offsetWidth)
      }
    })
  }
}
</script>
<style lang="scss">
@import "assets/Fonts/FontMap/FontMap";
@import "assets/Fonts/FontMap/FontList.css";
#app {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
}
</style>
